const Mock = require('mockjs');
const Random = Mock.Random;
let translist = {
    totalpage:3,
    'rows|10':[{
        code:'@guid',
        'status|1':['success','fail'],
        createTime:'@date(yyyy-MM-dd)',
        address:"广东省潮汕市",
        carcode:"粤·201314"
    }]
}
export default {
    'get|/trans/list':  (option) => {
        //do something
        var newlist= Mock.mock(translist);
        return {
          code: 200,
          message: 'success',
          data: newlist
        };
    }
}